package com.j2ee.filter;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @author JiangQikun
 * @date 2024/6/23 23:03
 */
@WebFilter("/*")
public class MyFilter implements Filter {

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {

        // 1: 执行前增强

        chain.doFilter(request,response);

        // 2: 执行后增强


    }



}
